Skip to content

Conversation

@MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Jan 22, 2026

🩹 [Patch]: Rename Auto-Release to Release-GHRepository

This PR updates the workflow to use the renamed release action.

Changed

  • Update Release.yml workflow to use PSModule/Release-GHRepository@v2 instead of the deprecated PSModule/Auto-Release@v1.9.5
  • Configure Dependabot for daily schedule with 7-day cooldown
  • Update PSModule/GitHub-Script from v1.7.8 to v1.7.10 (SHA: 0097f3bbe3f413f3b577b9bcc600727b0ca3201a)

Summary

The PSModule/Auto-Release action has been renamed to PSModule/Release-GHRepository. This change updates the workflow configuration to reference the new action name and version.

Copilot AI review requested due to automatic review settings January 22, 2026 18:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request aims to configure Dependabot for daily schedule with a 7-day cooldown period. However, the PR includes several additional changes not mentioned in the description: updates to multiple GitHub Actions to version 6.x (which may not exist yet), and the deletion of the .github/release.yml configuration file.

Changes:

  • Modified Dependabot configuration to use daily schedule and added cooldown configuration
  • Updated GitHub Actions versions across multiple workflow files (checkout@v6.0.2, upload-artifact@v6.0.0, super-linter@v8.3.2, Auto-Release@v1.9.5)
  • Deleted .github/release.yml file

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/dependabot.yml Changed schedule from weekly to daily and added cooldown configuration
.github/workflows/Linter.yml Updated actions/checkout to v6.0.2 and super-linter to v8.3.2
.github/workflows/Auto-Release.yml Updated actions/checkout to v6.0.2 and PSModule/Auto-Release to v1.9.5
.github/workflows/Action-Test.yml Updated actions/checkout to v6.0.2 and actions/upload-artifact to v6.0.0 across multiple steps
.github/release.yml Removed release configuration file entirely

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +14 to +16
interval: daily
cooldown:
default-days: 7
Copy link

Copilot AI Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cooldown configuration option does not exist in Dependabot's configuration schema. As of January 2025, Dependabot does not support a cooldown feature for delaying updates after dependency releases. The valid configuration options for controlling update frequency are schedule.interval (with values like daily, weekly, monthly) and open-pull-requests-limit. Consider removing this unsupported configuration or using alternative approaches like schedule.interval: weekly to achieve a similar effect of less frequent updates.

Suggested change
interval: daily
cooldown:
default-days: 7
interval: weekly

Copilot uses AI. Check for mistakes.
@MariusStorhaug MariusStorhaug changed the title 🩹 Configure Dependabot for daily schedule with 7-day cooldown 🩹[Patch] Configure Dependabot for daily schedule with 7-day cooldown Jan 22, 2026
@MariusStorhaug MariusStorhaug changed the title 🩹[Patch] Configure Dependabot for daily schedule with 7-day cooldown 🩹[Patch]: Configure Dependabot for daily schedule with 7-day cooldown Jan 22, 2026
@MariusStorhaug MariusStorhaug changed the title 🩹[Patch]: Configure Dependabot for daily schedule with 7-day cooldown 🩹 [Patch] Configure Dependabot for daily schedule with 7-day cooldown Jan 22, 2026
@MariusStorhaug MariusStorhaug changed the title 🩹 [Patch] Configure Dependabot for daily schedule with 7-day cooldown 🩹[Patch]: Configure Dependabot for daily schedule with 7-day cooldown Jan 22, 2026
@MariusStorhaug MariusStorhaug self-assigned this Jan 22, 2026
Copilot AI review requested due to automatic review settings January 25, 2026 20:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 9 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +6 to +10
pull_request:
branches:
- main
types:
- closed
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow trigger has been changed from "pull_request_target" (in the removed Auto-Release.yml) to "pull_request". This is a significant change in behavior: "pull_request_target" runs in the context of the base repository and has write permissions to secrets and can modify the repository, while "pull_request" runs in the context of the PR's head branch. For a Release workflow that requires "contents: write" and "pull-requests: write" permissions, this change means the workflow will not have these permissions when triggered from forks. Verify this is intentional and that the Auto-Release action can work correctly with this trigger type, especially for PRs from forks.

Copilot uses AI. Check for mistakes.
@MariusStorhaug MariusStorhaug changed the title 🩹[Patch]: Configure Dependabot for daily schedule with 7-day cooldown 🩹 [Patch]: Standardize workflows with SHA pinning and daily Dependabot Jan 25, 2026
Copilot AI review requested due to automatic review settings January 25, 2026 21:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +6 to +13
pull_request:
branches:
- main
types:
- closed
- opened
- reopened
- synchronize
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow trigger changed from "pull_request_target" (in the deleted Auto-Release.yml) to "pull_request" (in the new Release.yml). This is a significant change:

  • "pull_request_target" runs in the context of the base branch with write permissions, making it suitable for releases that need to create tags and publish
  • "pull_request" runs in the context of the PR branch with limited permissions

While the new workflow has "contents: write" and "pull-requests: write" permissions declared, these may not be sufficient when triggered by "pull_request" from fork PRs. Additionally, the workflow includes triggers like "opened", "reopened", and "synchronize" which will run on every PR update, potentially creating unwanted releases. Consider whether "pull_request_target" was intentionally changed, and if the workflow logic in PSModule/Auto-Release handles this correctly.

Suggested change
pull_request:
branches:
- main
types:
- closed
- opened
- reopened
- synchronize
pull_request_target:
branches:
- main
types:
- closed

Copilot uses AI. Check for mistakes.
@MariusStorhaug MariusStorhaug changed the title 🩹 [Patch]: Standardize workflows with SHA pinning and daily Dependabot 🩹[Patch]: Configure Dependabot and rename Auto-Release to Release-GHRepository Jan 25, 2026
Copilot AI review requested due to automatic review settings January 25, 2026 21:44
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 10 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

run-name: "Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"

on:
pull_request:
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow trigger has been changed from 'pull_request_target' to 'pull_request'. This is a significant security change. The 'pull_request_target' event runs in the context of the base repository and has access to repository secrets, which is important for creating releases. The 'pull_request' event runs in the context of the fork for external PRs and may not have the necessary permissions to create releases. Verify that this change is intentional and that the release action can still function correctly, especially for PRs from forks.

Suggested change
pull_request:
pull_request_target:

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants